package com.fan.txl.data.base;


import android.databinding.BaseObservable;


/**
 * Created by jiajiabao on 17-1-10.
 */

public class Rsp<T> extends BaseObservable {
    public static  final int OK=0;
    private final static  String Empty=new String();
    /* "id": "go.micro.client",
         "code": 500,
         "detail": "none available",
         "status": "Internal Server Error"*/
    String id;
    int code;
    String detail;
    String status;
     T data;
    
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public Rsp() {
    }


}
